package com.supersit.GZFDA.util;

/**
 * 防止Button多次重复点击的情况
 * 
 * @author Administrator
 * 
 */
public class ButtonOnclickUtils {
	private static long lastClickTime;

	public synchronized static boolean isFastClick() {
		long time = System.currentTimeMillis();
		if (time - lastClickTime > 500) {
			return true;
		}
		lastClickTime = time;
		return false;
	}
}
